package com.zyf.jni_hello;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        TextView textView = (TextView) findViewById(R.id.tv);
//        String s = HelloWorld.helloworld();
//        int add = HelloWorld.add(3, 66);
////        textView.setText(s+"\n"+"我是一个加法: "+add);
//        textView.setText(s+ "\n我是一个加法: "+add);

        textView.setText(JNITest.getString());
    }
}
